home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 120
/
Vol 120.iso
/
interfac
/
it.dig
/
scripts
/
DefineSprite_291
/
frame_2
/
PlaceObject2_40_Button_7
/
CLIPACTIONRECORD onClipEvent(load).as
< prev
Wrap
Text File
|
2010-11-09
|
738b
|
26 lines
onClipEvent(load){
function __f_click(eventObj)
{
var _loc3_ = _root.descri.caminho.text;
_loc3_ = _loc3_.substring(_loc3_.length - 3,_loc3_.length);
if(_loc3_ == "exe")
{
trace(_root.descri.caminho.text);
getURL("FSCommand:Run.app","%ORG%" + _root.descri.caminho.text);
}
else if(_loc3_ == "swf")
{
getURL("FSCommand:Run.App","App %ORG%" + _root.descri.caminho.text);
}
else if(_root.descri.comando.text == "LINK")
{
getURL(this.caminho.text,"");
}
else
{
getURL("FSCommand:Shellopen","%ORG%" + _root.descri.caminho.text);
}
}
this.addEventListener("click",__f_click);
}